# 镀锡卷
import parsel
import requests


def get_data(html_url):
    response = requests.get(html_url)
    selectors = parsel.Selector(response.text)
    return selectors.css(
        '#Panel1 div:nth-child(1) div table tbody tr:nth-child(1) td:nth-child(2) a::text').get()


def app():
    url = 'https://www.sci99.com/monitor-94857214-0.html'
    price = get_data(url)
    print(price)


if __name__ == '__main__':
    app()
